-
Notifications
You must be signed in to change notification settings - Fork 335
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update to Substrate master and Parachains V1 #102
Conversation
* Add spec for parachain relay * Update specs/rococo-alphanet-specs-template.json Co-authored-by: Alan Sapede <alan@scg-moonbuild-1.dev.purestake.tech> Co-authored-by: Joshy Orndorff <JoshOrndorff@users.noreply.github.com>
686dc66
to
2bfda27
Compare
Awesome work. That's a huge step for Moonbeam |
OK that's probably a dumb question but this update is focused on the parachain. However the current testnet is from standalone (right?). So if I'm updating apps types, does it mean the testnet will be replaced by a parachain? Does it mean the tests will also be using the parachain from now on? |
The alphanet is currently running the parachain version of moonbeam. It was the parachains v0 with a bug preventing multiple collators which should be fully solve by this PR |
@JoshOrndorff massive update! it looks great, I have one question about the rpc replacement. You added the http api but what about the ws (pubsub) one? Are you planning to add it also? |
Frontier recently added a feature where node operators can store account keys in the node. Then when they want to transact, the users can send just transaction call and parameters, and the signing happns in the node directly (as opposed to in metamask or a hardware wallet, or whatever). It is really convenient for debugging and testnets and stuff. But we've decided we don't want to encourage node operators to keep accout keys hot in their nodes, so we are not using this feature. |
Awesome 👍 |
Overview
This PR is primarily an update of four key Moonbeam dependencies, Substrate, Cumulus, Polkadot, and Frontier. For a while Moonbeam has been using old versions of Substrate, Cumulus, and Polkadot, and backporting Frontier for compatability. This PR updates to the master branch of all of those.1
New Features
Although no new features are added directly to moonbeam with this upgrade, we gain several new features or fixes from upstream.
trait Trait
totrait Config
(Substrate)Hotfix Status
Two hotfixes were removed. We no longer use a patched Frontier runtime API. Because of the Substrate update, we no longer use a non-standard
ref_count
type.Two hotfixes remain, but were moved to Moonbeam as drop-in replacements for their upstream counterparts. This allows us to depend on the stock Frontier, and keep better track of hotfixes because they live in the Moonbeam repo. Specifically the
EthApi
was moved (@tgmichel could you please review this part?).This includes two orthogonal patches:Roadmap Moonbase Alpha v0.4
This PR is the main change slated for the v0.4 release. The code is mostly complete, but there is still much to be done.
RefCount
for spec version 5. (why 5?)Deployment
These updates introduced several changes in the process of compiling, launching, and registering a relay-para network. I've documented this process in my launch notes.
Tasks for followups
1: We're actually ahead of Frontier master now :) Hopefully my update PR will be merged.